﻿using System;

namespace WebAPI.Dao;

public class TimeTransferUtils
{
    public void ConvertToSqlServerTime()
    {
        
    }
    public static string GetSqlServerTimeString()
    {
        return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
    }

    public string GetTimeString(DateTime dateTime)
    {
        return dateTime.ToString();
    }
}